---
title: AspectImage
---

# AspectImage

Image component constrained by as aspect ratio.

```js
import { AspectImage } from 'theme-ui'
```

```jsx live=true
<AspectImage ratio={4 / 3} src={images.flatiron} />
```
